package com.ctshk.rpc.order.tour.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 系列团游客退款记录
 * </p>
 *
 * @author 谭响
 * @since 2021-01-28
 */
@Data
@ApiModel(description="系列团游客退款记录添加计算Req")
public class SeriesOrderTouristRefundAddCalculationReq extends PageReq implements Serializable {

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @NotNull(message = "游客ID不能为空")
    @ApiModelProperty(value = "游客ID",required = true)
    private Long touristId;

    @ApiModelProperty(value = "游客名称")
    private String touristName;

    @NotNull(message = "项集合不能为空")
    @ApiModelProperty(value = "项集合",required = true)
    private List<SeriesOrderTouristRefundAddCalculationItemReq> itemList;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

}
